/**
 * 
 */
package com.jie.eclipse.pan.action;

import org.eclipse.jface.resource.ImageDescriptor;
import org.eclipse.ui.IEditorInput;
import org.eclipse.ui.IPersistableElement;

import com.jie.eclipse.pan.Activator;
import com.jie.eclipse.pan.dao.QMDao;
import com.jie.eclipse.pan.editors.utils.PanImageHelper;

/**
 * @author yanjie
 *
 */
public class PanEditor implements IEditorInput{
	
	/**
	 * 
	 */
	public PanEditor() {
		
	}
	
	protected static PanEditor instance = null;
	public static PanEditor getInstance(){
		if(instance == null){
			instance = new PanEditor();
		}
		return instance;
	}
	
	public Object getAdapter(Class arg0) {
		// TODO Auto-generated method stub
		return null;
	}

	
	public boolean exists() {
		// TODO Auto-generated method stub
		return false;
	}

	
	public ImageDescriptor getImageDescriptor() {
		return PanImageHelper.getInstance().getImageDescriptor("/icons/icon_gear.gif");
	}

	
	public String getName() {
		return "系統日志";
	}

	
	public IPersistableElement getPersistable() {
		// TODO Auto-generated method stub
		return null;
	}

	
	public String getToolTipText() {
		return "系統日志";
	}

}
